<template>
  <div style="width:100%;height:100%;">
    <iframe v-if="showFlag" frameborder="0" :style="style" src="https://eywz.wzta.gov.cn/admin/Index/login?param=xunguyou%7C%7Cxunguyou%40dsjy"/>
    <div v-else>
      <span>未传入需要打开的连接</span>
    </div>
  </div>
</template>

<script>
export default {
  name: "gzfw",
  components: {
  },
  data () {
    return {
      url:null,
      showFlag:true,
      style:{"overflow":"scroll","min-height":(window.innerHeight)+'px',"width":'100%'}
    }
  },
  created () {
    console.log('1')
    // if(this.$route.query){
    //   let url= this.$route.query.otherUrl
    //   if(url){
    //     url = decodeURIComponent(url)
    //     //let separator = url.indexOf('?') !== -1 ? "&" : "?";
    //     //url=url+separator+'accessToken='+store.state.user.accessToken
    //     this.url=url
    //   }else{
    //     this.showFlag=false
    //   }
    // }else{
    //   this.showFlag=false
    // }
  },
  methods: {
  },
  watch: {

  }
}
</script>

<style scoped>

</style>